package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.EnvironmentalCourses;

/**
 * coursesMapper接口
 * 
 * @author zrj
 * @date 2025-07-12
 */
public interface EnvironmentalCoursesMapper 
{
    /**
     * 查询courses
     * 
     * @param courseId courses主键
     * @return courses
     */
    public EnvironmentalCourses selectEnvironmentalCoursesByCourseId(Long courseId);

    /**
     * 查询courses列表
     * 
     * @param environmentalCourses courses
     * @return courses集合
     */
    public List<EnvironmentalCourses> selectEnvironmentalCoursesList(EnvironmentalCourses environmentalCourses);

    /**
     * 新增courses
     * 
     * @param environmentalCourses courses
     * @return 结果
     */
    public int insertEnvironmentalCourses(EnvironmentalCourses environmentalCourses);

    /**
     * 修改courses
     * 
     * @param environmentalCourses courses
     * @return 结果
     */
    public int updateEnvironmentalCourses(EnvironmentalCourses environmentalCourses);

    /**
     * 删除courses
     * 
     * @param courseId courses主键
     * @return 结果
     */
    public int deleteEnvironmentalCoursesByCourseId(Long courseId);

    /**
     * 批量删除courses
     * 
     * @param courseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEnvironmentalCoursesByCourseIds(Long[] courseIds);
}
